fix(browser): handle object list access denied - #187
Closed
GatewayJ wants to merge 1 commit into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Keep the object browser on the selected bucket when object listing is denied, matching MinIO Console behavior.
The previous
HeadBucketpreflight redirected on403before the authoritativeListObjectsV2request could determine whether the bucket contents were readable. This change:ListObjectsV2as the source of truth for object-list access;Type of Change
Testing
All 372 tests pass. The local Console login flow was also smoke-tested in the browser with no framework errors.
Checklist
Related Issues
Closes #185
Screenshots (if applicable)
Not included because reproducing the permission-denied state requires dedicated read-only credentials.
Additional Notes
The latest
mainbranch contained four Prettier-only differences in the SSE page. They are formatted here together with a whitespace-tolerant update to the associated source assertion so the required repository-wide format check passes.Validation ran with Node.js 24.14 because Node.js 22 was not available through
nvmin the local environment.